package com.wang.service.openfeign;

import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author :  DongZheng Wang
 * @PROJECT_NAME: fifth-cai-parent
 * @date :  2023-03-03 19:27
 **/

@FeignClient(value = "cai-homepage")
public interface UpdataLoad {
    @PostMapping(value = "/home/banner/upload",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    Result updateload( MultipartFile file  );
}
